﻿using Abp.Configuration;
using System.Collections.Generic;

namespace App.Configuration
{
    public class AppSettingProvider : SettingProvider
    {
        public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context)
        {
            return new[]
                   {
                       new SettingDefinition(AppSettings.General.AppName, "Web+"),
                       new SettingDefinition(AppSettings.General.AppPageSize, "20"),
                       new SettingDefinition(AppSettings.UserManagement.IsEmailConfirmationRequiredForLogin, "false"),
                   };
        }
    }
}
